package lab01;

import java.util.Scanner;

/**
 * Created by Administrator on 2017/12/26.
 */
public class Test07_2 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入A、B、C、D：");
        String wocao = scanner.nextLine();
        if (wocao.equals("A")) {
            System.out.println("成绩的范围是85--100");
        } else if (wocao.equals("B")) {
            System.out.println("成绩的范围是70--84");
        } else if (wocao.equals("C")) {
            System.out.println("成绩的范围是60--69");
        } else if (wocao.equals("D")) {
            System.out.println("成绩的范围是0--59");
        }
    }
}
